home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / Start.h < prev    next >
Text File  |  1995-07-06  |  3KB  |  132 lines

  1. /*
  2.      File:        Start.h
  3.  
  4.      Contains:    Start Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __START__
  21. #define __START__
  22.  
  23.  
  24. #ifndef __TYPES__
  25. #include <Types.h>
  26. #endif
  27. /*    #include <ConditionalMacros.h>                                */
  28.  
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32.  
  33. #if PRAGMA_ALIGN_SUPPORTED
  34. #pragma options align=mac68k
  35. #endif
  36.  
  37. #if PRAGMA_IMPORT_SUPPORTED
  38. #pragma import on
  39. #endif
  40.  
  41. struct SlotDev {
  42.     SignedByte                        sdExtDevID;
  43.     SignedByte                        sdPartition;
  44.     SignedByte                        sdSlotNum;
  45.     SignedByte                        sdSRsrcID;
  46. };
  47. typedef struct SlotDev SlotDev, *SlotDevPtr;
  48.  
  49. struct SCSIDev {
  50.     SignedByte                        sdReserved1;
  51.     SignedByte                        sdReserved2;
  52.     short                            sdRefNum;
  53. };
  54. typedef struct SCSIDev SCSIDev, *SCSIDevPtr;
  55.  
  56. union DefStartRec {
  57.     SlotDev                            slotDev;
  58.     SCSIDev                            scsiDev;
  59. };
  60. typedef union DefStartRec DefStartRec;
  61.  
  62. typedef DefStartRec *DefStartPtr;
  63.  
  64. struct DefVideoRec {
  65.     SignedByte                        sdSlot;
  66.     SignedByte                        sdsResource;
  67. };
  68. typedef struct DefVideoRec DefVideoRec;
  69.  
  70. typedef DefVideoRec *DefVideoPtr;
  71.  
  72. struct DefOSRec {
  73.     SignedByte                        sdReserved;
  74.     SignedByte                        sdOSType;
  75. };
  76. typedef struct DefOSRec DefOSRec;
  77.  
  78. typedef DefOSRec *DefOSPtr;
  79.  
  80.  
  81. #if !GENERATINGCFM
  82. #pragma parameter GetDefaultStartup(__A0)
  83. #endif
  84. extern pascal void GetDefaultStartup(DefStartPtr paramBlock)
  85.  ONEWORDINLINE(0xA07D);
  86.  
  87. #if !GENERATINGCFM
  88. #pragma parameter SetDefaultStartup(__A0)
  89. #endif
  90. extern pascal void SetDefaultStartup(DefStartPtr paramBlock)
  91.  ONEWORDINLINE(0xA07E);
  92.  
  93. #if !GENERATINGCFM
  94. #pragma parameter GetVideoDefault(__A0)
  95. #endif
  96. extern pascal void GetVideoDefault(DefVideoPtr paramBlock)
  97.  ONEWORDINLINE(0xA080);
  98.  
  99. #if !GENERATINGCFM
  100. #pragma parameter SetVideoDefault(__A0)
  101. #endif
  102. extern pascal void SetVideoDefault(DefVideoPtr paramBlock)
  103.  ONEWORDINLINE(0xA081);
  104.  
  105. #if !GENERATINGCFM
  106. #pragma parameter GetOSDefault(__A0)
  107. #endif
  108. extern pascal void GetOSDefault(DefOSPtr paramBlock)
  109.  ONEWORDINLINE(0xA084);
  110.  
  111. #if !GENERATINGCFM
  112. #pragma parameter SetOSDefault(__A0)
  113. #endif
  114. extern pascal void SetOSDefault(DefOSPtr paramBlock)
  115.  ONEWORDINLINE(0xA083);
  116. extern pascal void SetTimeout(short count);
  117. extern pascal void GetTimeout(short *count);
  118.  
  119. #if PRAGMA_IMPORT_SUPPORTED
  120. #pragma import off
  121. #endif
  122.  
  123. #if PRAGMA_ALIGN_SUPPORTED
  124. #pragma options align=reset
  125. #endif
  126.  
  127. #ifdef __cplusplus
  128. }
  129. #endif
  130.  
  131. #endif /* __START__ */
  132.